﻿using System;

namespace Progream10
{
   internal class Program
    {
        private static void Main(string[] args)
        {
            string pwd1 = "123456";
            Console.WriteLine("密码明文:{0}", pwd1);
            var enPwd1 = Encryption.GetEncryptString(pwd1);
            Console.WriteLine("密文:{0}", enPwd1);
            //string pwd1 = "1234567890as<>?<,";
            //Console.WriteLine("密码明文:{0}", pwd1);
            //var md5Pwd1 = Encryption.GetMd5(pwd1);
            //Console.WriteLine("密码MD5密文:{0}", md5Pwd1);
            //var shapwd1 = Encryption.GetSHA(pwd1);
            //Console.WriteLine("密码SHA512密文：{0}", shapwd1);

            //string pwd2 = "123456";
            //Console.WriteLine("密码明文:{0}", pwd2);
            //var md5Pwd2 = Encryption.GetMd5(pwd2);
            //Console.WriteLine("密码MD5密文:{0}", md5Pwd2);
            //var shapwd2 = Encryption.GetSHA(pwd2);
            //Console.WriteLine("密码SHA512密文：{0}", shapwd2);

            ////二次加密
            //var finemd5 = Encryption.GetMd5(md5Pwd1);
            //Console.WriteLine("密码MD5二次密文:{0}", finemd5);
        }
    }
}
